package com.alinesno.cloud.monitor.agent.constants;

/**
 * 监控信息
 * 
 * @author WeiXiaoJin
 * @since 2020年1月24日 下午9:21:23
 */
public class WatcherConstants {
	
	enum TYPE {
	
		DATABASE_SQL("DATABASE.SQL" , "数据库SQL") , 
		DATABASE_CONNECTION("DATABASE.CONNECTION" , "数据库连接") ,
		METHOD_SERVICE("METHOD.SERVICE" , "服务方法") , 
		METHOD_CONTROLLER("METHOD.CONTROLLER" , "控制层方法") 
		;
		
		TYPE(String code , String label){
			this.code = code ; 
			this.label = label ; 
		}
		
		private String code ; 
		private String label ;
		
		public String getCode() {
			return code;
		}
		public String getLabel() {
			return label;
		} 
		
	}

//	public static final String TYPE_DATABASE_SQL = "DATABASE.SQL"; // 数据库SQL
//	public static final String TYPE_DATABASE_CONNECTION = "DATABASE.CONNECTION"; // 数据库连接
//	
//	public static final String TYPE_SQL_PARAM = "SQL.PARAM";
//	public static final String TYPE_URL = "URL";
//	public static final String TYPE_URL_FORWARD = "URL.Forward";
//	public static final String TYPE_ACTION = "Action";
//	public static final String TYPE_METRIC = "MetricType";
//	public static final String TYPE_TRACE = "TraceMode";
//	public static final int ERROR_COUNT = 100;
//	public static final int SUCCESS_COUNT = 1000;
//	public static final String CAT_SYSTEM = "System";
//	public static final char BATCH_FLAG = '@';
//	public static final String SPLIT = ";";
//	public static final String OTHERS = "OTHERS";

}